<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>读者类型查询</title>
</head>
<body>
<table border="1" class="list">
    <tr>
        <td>读者类型编号</td>
        <td>读者类型名称</td>
        <td>可借数量</td>
    </tr>
    <tr th:each="typesofreaders : ${typesofreadersList}">
        <td th:text="${typesofreaders.id}"></td>
        <td th:text="${typesofreaders.name}"></td>
        <td th:text="${typesofreaders.number}"></td>
        <td>
            <form action="typesOfReadersupdate" method="post">
                <button name="id" th:value="${typesofreaders.id}" type="submit">修改</button>
            </form>
        </td>
        <td>
            <form action="typesOfReadersdelete" method="post">
                <button name="id" th:value="${typesofreaders.id}" type="submit">删除</button>
            </form>
        </td>
    </tr>
</table>
<button><a href="TypesOfReadersAdd.html">增加读者类型</a></button>
<button><a href="Jump.html" target="left">返回主界面</a></button>
</body>
</html>